<%--
  Created by IntelliJ IDEA.
  User: mobom
  Date: 2016/12/20
  Time: 17:45
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE html>
<html lang="en">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <title>统计</title>
  <script src="<%=basePath%>weixin/js/jquery.min.js"></script>
  <script src="<%=basePath%>weixin/js/mui.min.js"></script>
  <script src="<%=basePath%>weixin/js/mui.picker.min.js"></script>
  <link rel="stylesheet" href="<%=basePath%>weixin/css/mui.min.css" />
  <link rel="stylesheet" href="<%=basePath%>weixin/module/font-awesome/css/font-awesome.min.css" />
  <link rel="stylesheet" href="<%=basePath%>weixin/css/base.css" />
  <link rel="stylesheet" href="<%=basePath%>weixin/css/style.css" />
  <link rel="stylesheet" href="<%=basePath%>weixin/css/order.css" />

  <script src="<%=basePath%>weixin/js/page/valid.js"></script>
  <script src="<%=basePath%>weixin/js/area.js" ></script>

  <script src="<%=basePath%>weixin/module/layer/layer.js" ></script>
  <script src="<%=basePath%>weixin/js/page/list.js"></script>
</head>
<body class="bg-f5">
<div class="container-box m-top-30 queryList">
  <div class="time-input">
      <form action="<c:if test="${type=='user'}">/api/wx/count/user/people</c:if><c:if test="${type=='store'}">/api/wx/count/store/people</c:if>" method="get" id="queryForm">
        <input type="hidden" name="start_time">
        <input type="hidden" name="end_time">
      </form>
      <input type="text" readonly="readonly" id="start" class="time-btn" placeholder="开始时间">
      至
      <input type="text" readonly="readonly" id="end" class="time-btn" placeholder="结束时间">
      <a id="query" class="mui-btn">统计</a>

  </div>
  <div class="query-rs">
    <c:if test="${countService>0}">
    <div class="title"><span>共有${countService}条审核记录</span>统计结果</div>
    </c:if>
    <div class="input-group bg-white m-top-20 data-member input-group-arrow" id="queryList">

    <c:forEach items="${serviceList}" var="var">
      <div class="input-group-item">
        <div class="input-group-img">
          <img src="img/p.png" />
        </div>
        <div class="input-group-text">
          <a  href="<%=basePath%>api/wx/kmb/audit/history?isAuditFlag=0&userId=${var.user_id}">
            <p class="text-color-1a member-name">${var.nickname}</p>
            <p class="member-phone">手机号码：${var.tel}</p>
            <p class="member-time">审核时间：${var.audit_time}</p>
          </a>
        </div>
      </div>
    </c:forEach>

    </div>
  </div>
</div>

<script>
  (function(mui){
    select.init();
  })(mui);
</script>
</body>
</html>
